package com.park.service.impl;

import com.park.service.Animal;
import org.springframework.stereotype.Component;
import org.springframework.stereotype.Service;

@Component
public class Cat implements Animal {
    @Override
    public void eat() {
        System.out.println("小猫吃鱼");
    }
}
